package com.dao.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;
import com.dao.IAmsBisInfoDataDao;
import com.model.Ams_bis_info_data;
import com.model.Ams_bis_info_dataId;

@Repository
public class AmsBisInfoDataHibernateDao extends
		GenericHibernateDao<Ams_bis_info_data, Ams_bis_info_dataId> implements
		IAmsBisInfoDataDao {

	public List<Ams_bis_info_data> getAlmInfoDataList(String toolg_id,
			String almg_id, String info_typ) {
		List<Ams_bis_info_data> ams_bis_info_dataList = new ArrayList<Ams_bis_info_data>();
		String sqlGetToolGrp = "FROM Ams_bis_info_data WHERE id.toolg_id='"
				+ toolg_id + "' AND id.almg_id='" + almg_id
				+ "' AND id.info_typ='" + info_typ + "'";
		ams_bis_info_dataList = this.find(sqlGetToolGrp);

		return ams_bis_info_dataList;
	}

}
